package com.china08.yxyapi.repository.db;

import java.util.List;
import java.util.Set;

import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.res.YxyResPhase;

public interface YxyResPhaseRepository extends JpaRepository<YxyResPhase, String> {
    YxyResPhase findById(String id);

    YxyResPhase findByName(String xueduan);

    List<YxyResPhase> findByStatus(int status);

    List<YxyResPhase> findByIdIn(Set<String> phaseIds);

}
